/*!
 * @file actionEcho.cpp
 * @brief Ciało actionEcho.hh
 */

#include "engine/cmd/actionEcho.hh"
using namespace std;

/*--------------------------------------------------------------------------*/

actionEcho::actionEcho() :
	actionBase("echo") {
}

/*--------------------------------------------------------------------------*/

void actionEcho::doAction(std::string *array, int count, std::stringstream *ss) {

	for (int i = 1; i < count; ++i) {
		*ss << array[i] << " ";
	}

	*ss << "\n";
}

/*--------------------------------------------------------------------------*/
